package com.eedi.framework.sms.dal.mapper;

import com.eedi.framework.mybatis.core.mapper.BaseMapperX;
import com.eedi.framework.sms.dal.dataobject.SysSmsDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.Collection;
import java.util.List;


/**
 * 短信 Mapper
 *
 * @author 永聚长青源码
 */
@Mapper
public interface SmsMapper extends BaseMapperX<SysSmsDO> {

    default List<SysSmsDO> selectListByTemplateIds(Collection<String> systemTemplateIds) {
        return selectList(SysSmsDO::getSysSmsTemplateId, systemTemplateIds);
    }

}
